home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re ODF and MW Debug⁄MacOS 3.5 < prev    next >
Encoding:
Internet Message Format  |  1996-08-20  |  1.7 KB  |  [TEXT/ttxt]

  1. Subject:     Re: ODF and MW Debug/MacOS 1.5
  2. Sent:        8/19/96 3:27 PM
  3. Received:    8/19/96 4:21 PM
  4. From:        John Casey, jcasey@ncs-ssc.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >>Can someone tell me how to debug an ODF part?
  9. >>
  10. >>I loaded the .xsym files of the MWPPCDebug build of my part and tried to
  11. >>set breakpoints, but can't seem to get anywhere. The part does not stop at
  12. >>the breakpoint. Tried the same with ODFDraw.
  13. >>
  14. >>Using ODF R1 v2 from DR6 (had the same problem with DR5).
  15. >>Installed ODFLibrary debug version which I built before.
  16. >>
  17. >>What am I missing?
  18. >
  19. >Just to make sure.
  20. >
  21. >1. Put your newly built debug part in the editors folder.
  22. >2. Put your .xsym file in your editors folder.
  23. >3. Open the .xsym file.
  24. >4. Set breakpoints, etc.
  25. >5. Now open your part stationery, and it should switch to the MacOS Debug 
  26. >before it draws any content.
  27.  
  28. This should work.
  29.  
  30. In order to debug parts with the Metrowerks debugger, you must open all 
  31. of the symbol files of all the parts that you want to debug before 
  32. launching your stationery.  With Jasiks, this is not a problem.
  33.  
  34. If you installed the "AppleGuide For OpenDoc" beta libraries in your 
  35. "OpenDoc Shell Plug-Ins" folder, you may experience the same problems.  
  36. If so, remove the AppleGuide libraries.  Then everything should work fine.
  37.  
  38. ==========================================================================
  39. John Casey                                    Mail: jcasey@ncs-ssc.com
  40. Vice President                                 Web: http://www.ncs-ssc.com
  41. Nation Computer Services                       FAX: (601) 689-8130
  42. ==========================================================================
  43.  
  44.